import request from '@/utils/request';
import {AxiosPromise} from 'axios';
import {SapOrderForm, SapOrderQuery, SapOrderVO} from '@/api/painting/sapOrder/types';

/**
 * 查询SAP订单管理列表
 * @param query
 * @returns {*}
 */

export const listSapOrder = (query?: SapOrderQuery): AxiosPromise<SapOrderVO[]> => {
  return request({
    url: '/painting/sapOrder/list',
    method: 'get',
    params: query
  });
};


